package cn.lll.vuehouse.utils;

import java.util.Random;

public class SaltUtil {
    public static String getSalt(Integer length){

        char[] chars = "09053079lizihan".toCharArray();
        Random random = new Random();
        StringBuilder stringBuilder = new StringBuilder();
        for (Integer integer = 0; integer < length; integer++) {
            int i = random.nextInt(chars.length);
            stringBuilder.append(chars[i]);
        }
        return stringBuilder.toString();
    }
}
